package com.wyp.design.pattern.structural.proxy.staticproxy;

import com.wyp.design.pattern.structural.proxy.Order;

/**
 * @author: Oliver
 * @time: 2020/5/19/14:23
 */
public class test {
    public static void main(String[] args) {
        Order order = new Order();
        order.setUserId(2);

        OrderServiceStaticProxy orderServiceStaticProxy = new OrderServiceStaticProxy();
        orderServiceStaticProxy.saveOrder(order);
    }
}
